package com.mp.pojo.Query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 网点用户
 * @author su
 */
@Data
@ApiModel(value = "网点用户")
public class WebsiteUserQuery {

    @ApiModelProperty(value = "站点账号", example = "jack", required = true)
    private String account;

    @ApiModelProperty(value = "密码明文", example = "jack", required = true)
    @NotBlank(message = "密码明文 不能为空")
    private String password;

    @ApiModelProperty(value = "站点id", example = "123", required = true)
    @NotNull(message = "站点id 不能为空")
    private Integer websiteId;

    @ApiModelProperty(value = "管理员id", example = "123", required = true)
    @NotNull(message = "管理员id 不能为空")
    private Integer adminId;

    @ApiModelProperty(value = "网址urlList",  required = true)
    @NotNull(message = "网址urlList 不能为空")
    private List<WebsiteUrlQuery>  websiteUrlList;





}
